package com.hr.service.impl;
import java.util.List;

import com.hr.dao.ApplicantDao;
import com.hr.dao.impl.ApplicantDaoImpl;
import com.hr.pojo.Applicant;
import com.hr.service.ApplicantService;
public class ApplicantServiceImpl implements ApplicantService {
	private ApplicantDao applicantDao = new ApplicantDaoImpl();
	@Override
	public void saveApplicant(Applicant applicant) {
		applicantDao.saveApplicant(applicant);	
	}
	@Override
	public List findAllApplicants() {
		return applicantDao.findAllApplicants();
	}
	@Override
	public Applicant findApplicantById(String id) {
		return applicantDao.findApplicantById(id);
	}
	@Override
	public void deleteApplicant(String id) {
		applicantDao.deleteApplicant(id);
	}
	@Override
	public void updateApplicant(String id) {
		applicantDao.updateApplicant(id);	
	}
	@Override
	public List findApplicantByIsstock(String isstock) {
		return applicantDao.findApplicantByIsstock(isstock) ;
	}
	@Override
	public void employmentApplicant(Applicant applicant) {
		// TODO 自动生成的方法存根
		applicantDao.employmentApplicant(applicant);
		
	}
	@Override
	public void updateadminApplicant(String id,String admin) {
		applicantDao.updateadminApplicant(id,admin);	
		// TODO 自动生成的方法存根
		
	}
}
